hoplugpath.sh: fix Makefile dependency.
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 23 Jul 2009 08:00:55 +0000 (09:00 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 23 Jul 2009 08:00:55 +0000 (09:00 +0100)
In tools/hotplug/common/Makefile, install-scripts depends on genpath.
So add its dependency. Otherwise parallel build sometimes fails as
follows.

genpath and install-scripts command are being run simultaneously.
So When install-scripts tries to install it, it can be under creation.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
tools/hotplug/common/Makefile

index b95bf4ee8b1caf45e39c51d869157fe1d4991cc9..35fab6daf2a079d268032b1c1212a92052ff5aa7 100644 (file)
@@ -22,7 +22,7 @@ build: genpath
 install: all install-scripts
 
 .PHONY: install-scripts
-install-scripts:
+install-scripts: build
        [ -d $(DESTDIR)$(XEN_SCRIPT_DIR) ] || \
                $(INSTALL_DIR) $(DESTDIR)$(XEN_SCRIPT_DIR)
        set -e; for i in $(XEN_SCRIPTS); \